home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / mac / Sample Code / Human Interface Toolbox / MovableModal / MModal.rsrc / MModal.rsrc.rsrc / TEXT_128.txt < prev    next >
Encoding:
Text File  |  2000-06-23  |  423 b   |  4 lines

  1. This sample show a very simple implementation of the 7.0 Moveable Modal Dialog.
  2. Since you can't call ModalDialog on a MModal, you have to do the actual hit restricting and menu dimming yourself, but it's not really much more of a chore.  All you need to add is one lil' global that tells you when you've got a MModal up, and things will be wonderful.
  3.  
  4. Select 'Open Moveable Modal' from the Test Stuff menu to watch it work.